package com.xinsilu.hospital.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = false)
@TableName("operation_table")
@ApiModel(value="OperationTable对象", description="")
public class OperationTable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "手术名称")
    private String name;

    @ApiModelProperty(value = "手术费用")
    private String cost;

    @ApiModelProperty(value = "主治医生id")
    @TableField("doctor_id")
    private Integer doctorid;

    @ApiModelProperty(value = "术后总结")
    private String summary;

    @ApiModelProperty(value = "手术时间")
    private String date;

}
